package com.entity;

import com.ymx.darling.bean.annotation.Entity;
import com.ymx.darling.bean.annotation.Id;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

import java.io.Serializable;

/**
 * @author 爱Java的小于
 */
@Data
@Entity(table = "role")
@FieldNameConstants
public class Role implements Serializable {
	@Id
	private long roleId;
	private String roleName;
	private int roleGrade;

    public Role(){}

}
